import request from '@/utils/request'

//获取商品
export function goodsShow(params){
	return request({
		url:'/goods/goodsShow',
		method:'post',
		params
	})
}

//添加商品
export function addStudent(params){
	return request({
		url:'/stu/addStudent',
		method:'post',
		params
	})
}

//获取学生信息
export function getStudentInfo(params){
	return request({
		url:'/stu/queryAllStudent',
		method:'post',
		params
	})
}

//删除商品
export function deleteStudents(params){
	return request({
		url:'/stu/deleteStudents',
		method:'post',
		params
	})
}

//修改商品
export function updateStudent(params){
	return request({
		url:'/stud/updateStudentInfo',
		method:'post',
		params
	})
}